package com.iengoo.inductionms.service.impl;

import com.iengoo.inductionms.entity.Nation;
import com.iengoo.inductionms.mapper.NationMapper;
import com.iengoo.inductionms.service.NationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:huermao
 **/
@Service
public class NationServiceImpl implements NationService {
    @Autowired
    private NationMapper nationMapper;
    @Override
    public List<Nation> queryAll() {
        List<Nation> nationList = nationMapper.queryAll();
        return nationList;
    }
}
